package test 
{
	import com.hitplane.interfaces.ITick;
	import com.hitplane.manager.EnterFrameManager;
	import com.hitplane.elements.NormalWhitBullet;
	
	import flash.display.DisplayObject;
	import flash.display.Sprite;
	
	/**
	 * @描述
	 * @作者		郑子华
	 * @版本		version 1.0
	 * @创建日期	$date
	 */
	[SWF(width="400",height="600", backgroundColor="#999999",frameRate="30")]
	public class EnterFrameManagerTest extends Sprite
	{
		public function EnterFrameManagerTest() 
		{
			var tickObj:ITick=new NormalWhitBullet();
			this.addChild(tickObj as DisplayObject);
			(tickObj as DisplayObject).x=100;
			(tickObj as DisplayObject).y=100;
			EnterFrameManager.instance.addChild(tickObj);
			EnterFrameManager.instance.startTick();
			
		}
		
	}

}